package com.briup.estore.common.vo;


import java.util.List;

/**
 * @Description: 分类信息展示数据
 * @author: adam
 * @date: 2023/7/21 10:41
 */
public class CategoryInfoVO {

    /**
     * 书籍一级分类名字
     */
    private String name;

    /**
     *
     */
    private List<SecondCategoryInfo> categoryInfos;

    public static class SecondCategoryInfo {
        /**
         * 书籍二级分类编号
         */
        private int id;
        /**
         * 书籍二级分类名字
         */
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SecondCategoryInfo> getCategoryInfos() {
        return categoryInfos;
    }

    public void setCategoryInfos(List<SecondCategoryInfo> categoryInfos) {
        this.categoryInfos = categoryInfos;
    }
}
